package com.woniu.service.impl;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.woniu.adapter.ProcessHandoverAdapter;
import com.woniu.outlet.po.ProcessHandover;
import com.woniu.service.ProcessHandoverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProcessHandoverServiceImpl implements ProcessHandoverService {
    @Autowired
    private ProcessHandoverAdapter processHandoverAdapter;
    @Override
    public List<ProcessHandover> getProcessHandoverList (String orderCode) throws JsonProcessingException {
        return processHandoverAdapter.getProcessHandoverList(orderCode);
    }
}
